refs: Add a --collections argument to the built-in refs command
authorPhilip Withnall <withnall@endlessm.com>
Wed, 7 Jun 2017 13:51:58 +0000 (14:51 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Jun 2017 15:56:07 +0000 (15:56 +0000)
commitb7b79fa78d34a34cb75aeca4d0b041586ed74224
tree8368328c04f933bf725338133028b232351165fa
parent205a84b36e44808b26ccecbf490e58843548d40c
refs: Add a --collections argument to the built-in refs command

Rather than change the output format used by the existing refs command
to output collection IDs in addition to ref names, this functionality has
been hidden behind an --collections argument. If it’s not specified `ostree
refs` will output the same content as before for a given repository. If
it is specified, the collection ID for each ref will be included in the
output as (collection ID, ref name).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
man/ostree-refs.xml
src/ostree/ot-builtin-refs.c